package com.xhtech.base.network.service

import com.xhtech.base.data.UserInfo
import com.xhtech.base.network.config.ApiResponse
import retrofit2.http.GET
import retrofit2.http.Path

/**
 * 作者　: yuan_xh
 * 时间　: 2022/09/11
 * 描述　: 网络API
 */
interface CommonApiService {

    /**
     * 我的页面
     */
    @GET("hobby/auth/my/get_user_info/{userId}")
    suspend fun getUserInfoFromId(@Path("userId") userId: String?): ApiResponse<UserInfo>
}